package com.jiuli.liping.service;

import com.jiuli.liping.vo.Classification;
import com.jiuli.liping.vo.Product;

import java.util.List;

/**
 * Author zyl
 * Date  2020-03-25
 */
public interface ClassificationService {

    public Classification get(String id);

    public List<Classification> findList(Classification classification);

    public List<Classification> findAllList();

    public int insert(Classification classification);

    public int insertBatch(List<Classification> classifications);

    public int update(Classification classification);

    public int delete(Classification classification);

    List<Classification> getProductList();

    List<Classification> getProductByName(Product product);

    List<Classification> getClassification();

    List<Product> getProjectByPid(Classification classification);
}
